package com.sourcetrip.arraylist;


import com.sourcetrip.raw.adt.MyArrayList;

/**
 * @author: ZhouBert
 * @date: 2020/11/19
 * @description:
 */
public class MyArrayListTest01 {

	public static void main(String[] args) {
//		MyArrayList<Integer> arrayList = new MyArrayList<>();
//		MockTest.testList(arrayList);


		MyArrayList<Integer> arrayList2 = new MyArrayList<>();
		//测试缩容
		for (int i = 0; i < 100; i++) {
			arrayList2.add(i);
		}

		for (int i = 99; i > 5; i--) {
			arrayList2.remove(i);
		}

	}
}
